package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.WcChangePatentApplicationAncillary;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 剧本梗概备案申请附件Mapper接口
 *
 * @author ruoyi
 * @date 2024-02-28
 */
@Mapper
public interface WcChangePatentApplicationAncillaryMapper extends BaseMapper<WcChangePatentApplicationAncillary>
{
    /**
     * 查询剧本梗概备案申请附件
     *
     * @param wcPatentApplicationId 剧本梗概备案申请附件主键
     * @return 剧本梗概备案申请附件
     */
    WcChangePatentApplicationAncillary selectWcChangePatentApplicationAncillaryByWcPatentApplicationId(Long wcPatentApplicationId);

    /**
     * 查询剧本梗概备案申请附件列表
     *
     * @param wcChangePatentApplicationAncillary 剧本梗概备案申请附件
     * @return 剧本梗概备案申请附件集合
     */
    List<WcChangePatentApplicationAncillary> selectWcChangePatentApplicationAncillaryList(WcChangePatentApplicationAncillary wcChangePatentApplicationAncillary);

    /**
     * 新增剧本梗概备案申请附件
     *
     * @param wcChangePatentApplicationAncillary 剧本梗概备案申请附件
     * @return 结果
     */
    int insertWcChangePatentApplicationAncillary(WcChangePatentApplicationAncillary wcChangePatentApplicationAncillary);

    /**
     * 修改剧本梗概备案申请附件
     *
     * @param wcChangePatentApplicationAncillary 剧本梗概备案申请附件
     * @return 结果
     */
    int updateWcChangePatentApplicationAncillary(WcChangePatentApplicationAncillary wcChangePatentApplicationAncillary);

    /**
     * 删除剧本梗概备案申请附件
     *
     * @param wcPatentApplicationId 剧本梗概备案申请附件主键
     * @return 结果
     */
    int deleteWcChangePatentApplicationAncillaryByWcPatentApplicationId(Long wcPatentApplicationId);

    /**
     * 批量删除剧本梗概备案申请附件
     *
     * @param wcPatentApplicationIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteWcChangePatentApplicationAncillaryByWcPatentApplicationIds(String[] wcPatentApplicationIds);
}
